#pragma once 

namespace helper {
namespace resource {

template<typename R>
class IResource {
public:
  virtual ~IResource(){}

  virtual bool exists() const = 0;
  virtual R destroy() = 0;
};

}//namespace resource
}//namespace helper
